#ifndef __WLRESOURCEMANAGER_H__
#define __WLRESOURCEMANAGER_H__
#include"WLResource.h"
class WLResourcManager
{
	class WLFileManager* FileManager;
public:
	WLResourcManager(){FileManager = NULL;};
	void SetFileManager(class WLFileManager* pFileManager);
	WLResource* LoadResource(EResType Type,char* ResPathName );

	~WLResourcManager();
	std::vector<WLResource*> Resources;
	WLResource* FindResourceByID(unsigned int ID);
};
extern WLResourcManager* g_pResourceManager;
#endif